import { http } from "@/utils/http";

// 获取单价配置
export const getCheckList = data => {
  return http.request("post", "/energy/audit/listAudit", {
    data
  });
};

// 更新单价配置
export const updateCheck = data => {
  return http.request("post", `/energy/audit/updateAudit`, {
    data
  });
};

// 更新单价配置
export const checkConfim = data => {
  return http.request("post", `/energy/audit/audit`, {
    data
  });
};

// 查看单价配置
export const viewCheck = data => {
  return http.request("post", `/energy/audit/detailAudit`, {
    data
  });
};

// 删除单价配置
export const delCheck = data => {
  return http.request("post", `/energy/audit/deleteAudit`, {
    data
  });
};
